// ======================================================================
// \title  SizeFieldTooSmallFile.hpp
// \author Rob Bocchino
// \brief  SizeFieldTooSmallFile interface
//
// \copyright
// Copyright (C) 2009-2018 California Institute of Technology.
// ALL RIGHTS RESERVED.  United States Government Sponsorship
// acknowledged.

#ifndef Svc_SequenceFiles_SizeFieldTooSmallFile_HPP
#define Svc_SequenceFiles_SizeFieldTooSmallFile_HPP

#include "Svc/CmdSequencer/CmdSequencerImpl.hpp"
#include "Svc/CmdSequencer/test/ut/SequenceFiles/File.hpp"

namespace Svc {

namespace SequenceFiles {

//! A file with a size field that is too small
class SizeFieldTooSmallFile : public File {
  public:
    //! Construct a SizeFieldTooSmallFile
    SizeFieldTooSmallFile(const Format::t m_format  //!< The file format
    );

  public:
    //! Serialize the file in F Prime format
    void serializeFPrime(Fw::SerializeBufferBase& buffer  //!< The buffer
    );
};

}  // namespace SequenceFiles

}  // namespace Svc

#endif
